<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class=""><a href="/app/core/partyunion/activity" aria-expanded="false">活动管理 </a></li>
                        <li class="active"><a href="/app/core/partyunion/activity?view=input" aria-expanded="true">创建活动</a></li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding-top: 0px;">
                        <div class="row">
                            <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12" style="padding: 0px">
                                <form class="form-horizontal">
                                    <table class="table table-hover table-striped table-bordered">
                                        <tr>
                                            <td width="20%">${i18n('system.sortNo')}：</td>
                                            <td width="30%"><input placeholder="${i18n('system.sortNo')}" type="number" name="sortNo" id="sortNo" maxlength="50" value="" class="form-control"></td>
                                            <td width="20%">活动类型：</td>
                                            <td width="30%"><select id="activityType" name="activityType" style="border-radius: 0px;" class="form-control" style="border-radius: 0px;">
                                            </select>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">活动标题：</td>
                                            <td width="30%" colspan="3"><input placeholder="活动标题" type="text" name="title" id="title" maxlength="100" value="" class="form-control"></td>
                                        </tr>
                                        <tr>
                                            <td width="20%">事件主图：</td>
                                            <td width="30%" colspan="3">
                                                <div style="position: relative;padding-bottom:20px;">
                                                    <img id="file_img" style="height: 80px" src="/gobal/img/error.jpg" onerror="this.onerror=null;this.src='/gobal/img/error.jpg'" class="avatar">
                                                    <div style="margin-top: 5px;position: absolute;cursor: pointer;">
                                                        <a style="cursor: pointer; padding-left: 10px;">上传主图 <input type="file" onchange="uploadimg('file','party');" hidefocus="true" size="1" id="file" name="file" class="addfile" multiple="multiple" accept="image/*">
                                                        </a>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">主办方：</td>
                                            <td width="30%"><input placeholder="主办方" type="text" name="organizer" id="organizer" maxlength="50" value="" class="form-control"></td>
                                            <td width="20%">联系人：</td>
                                            <td width="30%"><input placeholder="联系人" type="text" name="linkMan" id="linkMan" maxlength="50" value="" class="form-control">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">联系电话：</td>
                                            <td width="30%"><input placeholder="联系电话" type="text" name="linkTel" id="linkTel" maxlength="50" value="" class="form-control"></td>
                                            <td width="20%">活动地址：</td>
                                            <td width="30%"><input placeholder="活动地址" type="text" name="address" id="address" maxlength="200" value="" class="form-control">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">活动时间（起）：</td>
                                            <td width="30%"><input placeholder="活动时间（起）" type="text" name="beginTime" id="beginTime" maxlength="50" class="form-control" readonly="readonly"></td>
                                            <td width="20%">活动时间（止）：</td>
                                            <td width="30%"><input placeholder="活动时间（止）" type="text" name="endTime" id="endTime" maxlength="50" class="form-control" readonly="readonly">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">参与人：</td>
                                            <td width="30%" colspan="2"><textarea placeholder="参与人" name="joinUser" id="joinUser" rows="5" class="form-control" readonly="readonly"></textarea></td>
                                            <td>
                                                <a style="cursor: pointer;" opt-id="joinUser" onclick="selectUser(this,'true');">${i18n('system.select')}</a>
                                                <a style="cursor: pointer;" onclick="clearSelect('joinUser')">${i18n('system.clear')}</a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td width="20%">相关附件：</td>
                                            <td width="80%" colspan="3">
                                                <div id="show_attach"></div>
                                                <a class="addfile" href="javascript:void(0)">${i18n('fileupload')}
                                                    <input data_value="" type="file" onchange="fileUpLoad('party','attach');" hidefocus="true"
                                                           maxlength="1" id="attach" name="attach" class="addfile" multiple="multiple"></a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">活动内容</td>
                                        </tr>
                                        <tr>
                                            <td colspan="4">
                                                <div id="content" name="content"></div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="4" align="center"><a id="createbut" href="javascript:void(0);" class="btn btn-primary js-add-save">${i18n('system.create')}</a></td>
                                        </tr>
                                    </table>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/assets/js/editors/summernote/summernote.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/partyunion/activity/index.js"></script>
</body>
</html>
